<?php

declare(strict_types=1);

namespace App\Robot\Crontab;

use App\CustHub\Constants\SendRecordStatusConstants;
use App\CustHub\Model\ChSendRecord;
use App\CustHub\Service\ChCrowSendingService;
use App\CustHub\Service\ChSendRecordService;
use App\CustHub\Service\ChSopService;
use Hyperf\Di\Annotation\Inject;

/**
 * sop流失回复率统计
 */
class SopTaskStatisticsCrontab
{
    #[Inject]
    protected ChSopService $ChSopService;

    public function execute(): string
    {
        $this -> ChSopService -> statisticsSync();
        return 'send sop statistics task message successfully';
    }
}